package com.tulele.vtool.model;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 文章作品详情表(BDecorationArticles)实体类
 *
 * @author makejava
 * @since 2020-08-05 08:39:11
 */
@Data
public class BDecorationArticles extends BFloorPlan implements Serializable {
    private static final long serialVersionUID = 232551586247085813L;
    /**
    * 作品ID
    */
    private Integer id;
    /**
    * 作品封面
    */
    private String coverPlan;
    /**
    * 作品标题
    */
    private String headLine;
    /**
     * 作品居室数量
     */
    private String roomNumber;
    /**
    * 作品风格
    */
    private String worksStyle;
    /**
    * 作品面积
    */
    private String worksArea;
    /**
    * 作品价格
    */
    private String worksPrices;
    /**
    * 作品介绍
    */
    private String worksIntroduce;
    /**
    * 作品创建人ID
    */
    private Integer userId;
    /**
    * 作品创建时间
    */
    private Date createTime;
    /**
    * 作品更新时间
    */
    private Date updateTime;
    /**
    * 作品展示状态（0停用 1正常）
    */
    private Integer worksFlag;

    /**
     * 作品分享次数
     */
    private Integer shareNum;

    /**
     * 作品对应图片对象
     */
    private List<BFloorPlan> bFloorPlans= new ArrayList<>(); // 一个作品对应多个图片


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) { this.id = id; }

    public String getCoverPlan() { return coverPlan; }

    public void setCoverPlan(String coverPlan) {
        this.coverPlan = coverPlan;
    }

    public String getHeadLine() {
        return headLine;
    }

    public void setHeadLine(String headLine) {
        this.headLine = headLine;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getWorksStyle() {
        return worksStyle;
    }

    public void setWorksStyle(String worksStyle) {
        this.worksStyle = worksStyle;
    }

    public String getWorksArea() {
        return worksArea;
    }

    public void setWorksArea(String worksArea) {
        this.worksArea = worksArea;
    }

    public String getWorksPrices() {
        return worksPrices;
    }

    public void setWorksPrices(String worksPrices) {
        this.worksPrices = worksPrices;
    }

    public String getWorksIntroduce() {
        return worksIntroduce;
    }

    public void setWorksIntroduce(String worksIntroduce) {
        this.worksIntroduce = worksIntroduce;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getWorksFlag() {
        return worksFlag;
    }

    public void setWorksFlag(Integer worksFlag) {
        this.worksFlag = worksFlag;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }
}
